[INFO] cloning repository https://github.com/JosephTLyons/solitaire
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosephTLyons/solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76f43ba775f944ebee2b9b422bcfad74aca0ff27
[INFO] checking JosephTLyons/solitaire against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephTLyons%2Fsolitaire" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JosephTLyons/solitaire on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JosephTLyons/solitaire
[INFO] finished tweaking git repo https://github.com/JosephTLyons/solitaire
[INFO] tweaked toml for git repo https://github.com/JosephTLyons/solitaire written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/JosephTLyons/solitaire already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd0169ab725ddd7435c27cdd768b0eb5d53be72f7c29316d162344f7c60bd726
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fd0169ab725ddd7435c27cdd768b0eb5d53be72f7c29316d162344f7c60bd726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd0169ab725ddd7435c27cdd768b0eb5d53be72f7c29316d162344f7c60bd726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd0169ab725ddd7435c27cdd768b0eb5d53be72f7c29316d162344f7c60bd726", kill_on_drop: false }`
[INFO] [stdout] fd0169ab725ddd7435c27cdd768b0eb5d53be72f7c29316d162344f7c60bd726
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9624d34164d18a024f0b400ef8bce36212b3f1e22fb985d37a69230549e3d92a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9624d34164d18a024f0b400ef8bce36212b3f1e22fb985d37a69230549e3d92a", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking solitaire v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning[E0170]: pattern binding `Deposit` is named the same as one of the variants of the type `pile::PileType`
[INFO] [stdout]    --> src/game.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ^^^^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deposit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `Flip` is named the same as one of the variants of the type `pile::PileType`
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             Flip => {
[INFO] [stdout]     |             ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Flip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `Deck` is named the same as one of the variants of the type `pile::PileType`
[INFO] [stdout]    --> src/game.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Deck => {},
[INFO] [stdout]     |             ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 203 |             Flip => {
[INFO] [stdout]     |             ^^^^ unreachable pattern
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 208 |             Deck => {},
[INFO] [stdout]     |             ^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Deposit`
[INFO] [stdout]    --> src/game.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Deposit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Flip`
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             Flip => {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Flip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Deck`
[INFO] [stdout]    --> src/game.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Deck => {},
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `Deposit` is named the same as one of the variants of the type `pile::PileType`
[INFO] [stdout]    --> src/game.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ^^^^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deposit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `Flip` is named the same as one of the variants of the type `pile::PileType`
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             Flip => {
[INFO] [stdout]     |             ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Flip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `Deck` is named the same as one of the variants of the type `pile::PileType`
[INFO] [stdout]    --> src/game.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Deck => {},
[INFO] [stdout]     |             ^^^^ help: to match on the variant, qualify the path: `pile::PileType::Deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 203 |             Flip => {
[INFO] [stdout]     |             ^^^^ unreachable pattern
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 208 |             Deck => {},
[INFO] [stdout]     |             ^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Deposit`
[INFO] [stdout]    --> src/game.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             Deposit => {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Deposit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Flip`
[INFO] [stdout]    --> src/game.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             Flip => {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Flip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Deck`
[INFO] [stdout]    --> src/game.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Deck => {},
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_Deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/game.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stdout]     |                              ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 199 |                 if self.move_to_deposit_pile_ok(&move_card, to.index(0)) {
[INFO] [stdout]     |                    ^^^^ immutable borrow occurs here        -- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/game.rs:204:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stdout]     |                              ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 if self.move_to_flip_pile_ok(&move_card, to.index(0)) {
[INFO] [stdout]     |                    ^^^^ immutable borrow occurs here     -- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/game.rs:199:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stdout]     |                              ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 199 |                 if self.move_to_deposit_pile_ok(&move_card, to.index(0)) {
[INFO] [stdout]     |                    ^^^^ immutable borrow occurs here        -- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/game.rs:204:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |             if let Some(x) = self.get_pile_reference() {
[INFO] [stdout]     |                              ---- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 if self.move_to_flip_pile_ok(&move_card, to.index(0)) {
[INFO] [stdout]     |                    ^^^^ immutable borrow occurs here     -- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0170, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `solitaire`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0170, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "9624d34164d18a024f0b400ef8bce36212b3f1e22fb985d37a69230549e3d92a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9624d34164d18a024f0b400ef8bce36212b3f1e22fb985d37a69230549e3d92a", kill_on_drop: false }`
[INFO] [stdout] 9624d34164d18a024f0b400ef8bce36212b3f1e22fb985d37a69230549e3d92a
